<h1>Listing write_boards</h1>

<table>
  <tr>
    <th>Employee</th>
    <th>Title</th>
    <th>Content</th>
  </tr>

<% @write_boards.each do |write_board| %>
  <tr>
    <td><%=h write_board.employee_id %></td>
    <td><%=h write_board.title %></td>
    <td><%=h write_board.content %></td>
    <td><%= link_to 'Show', write_board %></td>
    <td><%= link_to 'Edit', edit_write_board_path(write_board) %></td>
    <td><%= link_to 'Destroy', write_board, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New write_board', new_write_board_path %>